<template>
  <div class="page">

    <div class="container" style="margin-top: 500px">
      <!--  查看更多职位-->
      <div class="checkjob" style="">
        <div class="checkjob_item">
        <div class="checkjob_more"><span><a>查看更多职位</a></span><i class="el-icon-arrow-right"></i></div>
        <template>
          <el-checkbox-group v-model="checkList">
            <el-checkbox label="实习职位"></el-checkbox>
            <el-checkbox label="校招职位"></el-checkbox>
          </el-checkbox-group>
        </template>
        </div>
      </div>
      <!--  热门职位-->
      <el-tabs v-model="activeHotName" @tab-click="handleClick">
        <el-tab-pane label="热门职位" name="hotjob">
          <!--  最新职位 start-->
          <div class="tmpbk " role="tabpanel" aria-labelledby="home-tab">
            <div  class="jboarea mt_30">
              <div v-for="n in 7" class="jbobox">
                <div class=" jbobox_up">
                  <div class="jbobox_up1">
                    <span>建筑设计师 {{n}} </span> <span class="color_red8150" >8k-12k/月</span>
                  </div>
                  <div class="jbobox_up2">
                    <span>带薪年假</span> <span>免费三餐</span> <span>绩效奖金 </span><span>...</span>
                  </div>
                  <div class="jbobox_up3">
                    <span>嘉兴</span> <span>本科</span> <span>3个月</span>
                  </div>
                </div>
                <div class="jbobox_dw">
                  <div class="jbobox_dw1"><img src="../../../assets/imgs/jd.jpg"> </div>
                  <div class="jbobox_dw2">
                    <div class="dw">万科</div>
                    <div>
                      房产/家居/物业/建筑 丨2000人以上</div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <!--  最新职位 end-->
        </el-tab-pane>
        <el-tab-pane label="最新职位" name="newjob">
          <!--  热门职位 start-->
          <div class="jboboxcard" id="link" >
            <div  class="jboarea mt_30">
              <div v-for="n in 4" class="jbobox">
                <div class=" jbobox_up">
                  <div class="jbobox_up1">
                    <span>交互设计师 {{n}} </span> <span class="color_red8150" >200-400/天</span>
                  </div>
                  <div class="jbobox_up2">
                    <span>JDYOUNG</span> <span>导师制</span> <span>接受大一... </span><span>...</span>
                  </div>
                  <div class="jbobox_up3">
                    <span>成都</span> <span>5天/周</span> <span>3个月</span>
                  </div>
                </div>

                <div class="jbobox_dw">
                  <div class="jbobox_dw1"><img src="../../../assets/imgs/jd.jpg"> </div>
                  <div class="jbobox_dw2">
                    <div class="dw">京东</div>
                    <div>互联网/游戏/软件 丨已上市</div>
                  </div>
                </div>
              </div>
            </div>

          </div>
          <!--  热门职位 end-->
        </el-tab-pane>
      </el-tabs>
      <div class="more" style="text-align: center;">
        <el-row>
          <el-button style="width: 170px;height: 46px; margin: 30px 0 90px 0; " type="primary" >
            更多职位</el-button>
        </el-row>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'middle',
  data () {
    return {
      activeHotName: 'hotjob',
      checkList: ['实习职位', '复选框 A']
    } ;
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
}
</script>

<style scoped>

/* old */
/* 热门职位 */
.checkjob{
  /* background: #6aa2e4; */
  height:0;
}
.checkjob .checkjob_item {
  display: flex;
  height: 40px;
  /* width: 300px; */
  line-height: 40px;
  align-content: flex-end;
  align-content: baseline;
  flex-direction: row-reverse;
}
.checkjob .checkjob_item .checkjob_more{
  margin-left: 20px;
  font-size: 12px;
  padding: 0 12px;
  color: #999999;
  text-decoration: none;
  background: url(../../../assets/imgs/icon_arrow_right.9c83439.svg) no-repeat 230px 12px #fafafa;
}


.jboarea{
  width: 1080px;
  height: 100%;
  display: flex;
  /* flex-direction: row; */
  flex-flow: wrap;
  justify-content: space-between;
  /* background-color: red; */
}
.jboarea .jbobox{
  width: 308px!important;
  height: 230px!important;
  /* padding-left: 0!important; */
  border: 1px solid #eaeaea;
  background-color: #ffffff;
  padding: 0 20px;
  margin-top: 15px;
  /* align-content: center; */
}
.tm{
  width: 200px;height: 200px;
  border: #42b983 1px solid;
  margin-top: 10px;
}
.jbobox{
  /* display: flex; */
  /* width: 350px!important; */
  /* height: 230px!important; */
  /* flex-direction: column; */
  /* align-content: center; */
  /* flex-direction: row; */
  /* float: right; */
  /* border: 1px solid #eaeaea; */
  /* background-color: #ffffff; */
}
.jbobox .jbobox_up{
  /* display: flex; */
  width: 308px;
  /* height: 139px; */
  /* margin: 10px 0; */
  padding: 28px 0;
  border-bottom: 1px dashed #eaeaea
  /* justify-content: center; */
  /* background-color: #899bbc; */
}
.jbobox .jbobox_up .jbobox_up1 ,.jbobox_up2,.jbobox_up3 {
  display: flex;
}
.color_red8150{
  color: #fd8150;
}
.jbobox .jbobox_up .jbobox_up1 {
  justify-content: space-between;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  text-overflow: ellipsis;
}
.jbobox .jbobox_up .jbobox_up2{
  justify-content: space-around;
  margin:10px 0;
  color: #888;
  font-size: 13px
}
.jbobox .jbobox_up .jbobox_up3{
  justify-content: space-between;
  font-size: 14px;
  color: #666;
}

.jbobox .jbobox_dw{
  margin: 21px 0;
  width: 308px;
  height: 65px;
  display: flex;
  flex-direction: row;
}
.jbobox_dw{
  height: 50px;
  width: 50px;
}
.jbobox_dw .jbobox_dw1 img{
  width: 50px;
  height: 50px;
}
.jbobox_dw2{
  /* display: flex; */
  flex-direction: column;
  justify-content:space-between;
  padding: 4px 20px;
  color: #b2b2b2;
  font-size: 14px;

}
.jbobox_dw2 .dw{
  display: flex;
  color: #6aa2e4;
  padding-bottom:4px;
  align-content: space-between;
}
.jbomore {
  /* width:176px; */
  /* height: 46px; */
  margin-top: 30px;
  margin-bottom:150px;
}
.jbomore a{
  margin-top: 22px;
  padding: 12px 50px;
  background: #6aa2e4;
  border-radius: 0px;
  color: #fff;
  font-size: 16px;
  width: 170px;
  height: 46px;
  line-height: 46px;
}
</style>
